# 镜像构建
FROM centos:centos7_zh_font

# 将大数据平台的jar包以及相关依赖的模型和驱动文件拷入镜像中
WORKDIR /app/
# 复制启动脚本
COPY startup.sh /app/startup.sh
# 拷贝程序
COPY secondment_system-1.0-SNAPSHOT.jar /app/

VOLUME [ "/app/file" ]
EXPOSE 18080

CMD [ "sh","/app/startup.sh" ]
